package org.leyi.shop.model.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表
 * @TableName seller
 */
@TableName(value ="seller")
@Data
public class Seller implements Serializable {
    /**
     * 商家id
     */
    @TableId(type = IdType.AUTO)

    private Long id;

    /**
     * 商家账户(和用户账号一一对应)
     */
    private String sellerAccount;

    /**
     * 商家盈利金额
     */
    private Double profitAmount;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除
     */
    @TableLogic
    @TableField("is_delete")
    private Integer deleteLogic;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}